home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1997 May
/
EnigmA AMIGA RUN 18 (1997)(G.R. Edizioni)(IT)[!][issue 1997-05][EAR-CD II].iso
/
earcd
/
util
/
dir
/
managers.lha
/
Managers
/
Cli_Master
/
protect.g
< prev
next >
Wrap
Text File
|
1997-01-14
|
4KB
|
241 lines
G4C
winbig -1 -1 222 132 ""
wintype 00001000
winout nil:
xonopen
update protect.g 1 0
update protect.g 2 0
update protect.g 3 0
update protect.g 4 1
update protect.g 5 1
update protect.g 6 1
update protect.g 7 1
update protect.g 9 -
update protect.g 10 -
update protect.g 11 -
update protect.g 12 R
update protect.g 13 W
update protect.g 14 E
update protect.g 15 D
gosub protect.g getfile
xonclose
delvar pro_#?
lvdir climaster $cmst_srce none
box 0 0 0 0 out button
box 10 4 202 52 in button
ctext 52 40 "New Bit Pattern" topaz.font 8 2 0 000
ctext 29 14 S topaz.font 8 2 0 000
ctext 55 14 P topaz.font 8 2 0 000
ctext 81 14 A topaz.font 8 2 0 000
ctext 107 14 R topaz.font 8 2 0 000
ctext 133 14 W topaz.font 8 2 0 000
ctext 159 14 E topaz.font 8 2 0 000
ctext 185 14 D topaz.font 8 2 0 000
ctext 60 66 "Current file" topaz.font 8 2 0 000
xcheckbox 20 17 26 11 "" pro_scr 1 0 off
gadid 1
if $pro_scr = 1
update protect.g 9 S
else
update protect.g 9 -
endif
xcheckbox 46 17 26 11 "" pro_pur 1 0 off
gadid 2
if $pro_pur = 1
update protect.g 10 P
else
update protect.g 10 -
endif
xcheckbox 72 17 26 11 "" pro_arc 1 0 off
gadid 3
if $pro_arc = 1
update protect.g 11 A
else
update protect.g 11 -
endif
xcheckbox 98 17 26 11 "" pro_rea 0 1 off
gadid 4
if $pro_rea = 1
update protect.g 12 -
else
update protect.g 12 R
endif
xcheckbox 124 17 26 11 "" pro_wri 0 1 off
gadid 5
if $pro_wri = 1
update protect.g 13 -
else
update protect.g 13 W
endif
xcheckbox 150 17 26 11 "" pro_exe 0 1 off
gadid 6
if $pro_exe = 1
update protect.g 14 -
else
update protect.g 14 E
endif
xcheckbox 176 17 26 11 "" pro_del 0 1 off
gadid 7
if $pro_del = 1
update protect.g 15 -
else
update protect.g 15 D
endif
text 78 42 10 12 "" 1 nobox
gadid 9
text 88 42 10 12 "" 1 nobox
gadid 10
text 98 42 10 12 "" 1 nobox
gadid 11
text 108 42 10 12 "" 1 nobox
gadid 12
text 118 42 10 12 "" 1 nobox
gadid 13
text 128 42 10 12 "" 1 nobox
gadid 14
text 138 42 10 12 "" 1 nobox
gadid 15
text 11 70 200 12 $cmst_fname 30 box
gadid 8
xbutton 10 90 101 12 "All On"
update protect.g 1 1
update protect.g 2 1
update protect.g 3 1
update protect.g 4 1
update protect.g 5 1
update protect.g 6 1
update protect.g 7 1
update protect.g 9 S
update protect.g 10 P
update protect.g 11 A
update protect.g 12 R
update protect.g 13 W
update protect.g 14 E
update protect.g 15 D
xbutton 10 114 101 12 "Toggle"
if $pro_scr = 1
update protect.g 1 0
update protect.g 9 -
else
update protect.g 1 1
update protect.g 9 S
endif
if $pro_pur = 1
update protect.g 2 0
update protect.g 10 -
else
update protect.g 2 1
update protect.g 10 P
endif
if $pro_arc = 1
update protect.g 3 0
update protect.g 11 -
else
update protect.g 3 1
update protect.g 11 A
endif
if $pro_rea = 1
update protect.g 4 1
update protect.g 12 R
else
update protect.g 4 0
update protect.g 12 -
endif
if $pro_wri = 1
update protect.g 5 1
update protect.g 13 W
else
update protect.g 5 0
update protect.g 13 -
endif
if $pro_exe = 1
update protect.g 6 1
update protect.g 14 E
else
update protect.g 6 0
update protect.g 14 -
endif
if $pro_del = 1
update protect.g 7 1
update protect.g 15 D
else
update protect.g 7 0
update protect.g 15 -
endif
xbutton 111 90 101 12 "Current"
gosub protect.g buildbits
action protect $cmst_select $pro_code
lvmulti climaster $cmst_srce off
lvmulti climaster $cmst_srce next
if $cmst_select = ""
guiclose protect.g
endif
gosub protect.g getfile
xbutton 10 102 101 12 "All Off"
update protect.g 1 0
update protect.g 2 0
update protect.g 3 0
update protect.g 4 0
update protect.g 5 0
update protect.g 6 0
update protect.g 7 0
update protect.g 9 -
update protect.g 10 -
update protect.g 11 -
update protect.g 12 -
update protect.g 13 -
update protect.g 14 -
update protect.g 15 -
xbutton 111 102 101 12 "All Files"
gosub protect.g buildbits
lvaction protect climaster $cmst_srce $pro_code
guiclose protect.g
xbutton 111 114 101 12 Cancel
guiclose protect.g
xroutine getfile
extract cmst_select file cmst_fname
extract cmst_fname unquote cmst_fname
update protect.g 8 $cmst_fname
return
xroutine buildbits
setvar pro_code $pro_del
appvar pro_code $pro_exe
appvar pro_code $pro_wri
appvar pro_code $pro_rea
appvar pro_code $pro_arc
appvar pro_code $pro_pur
appvar pro_code $pro_scr
return